// Xom.java
// Mac Radigan
// $Id$
package org.radigan.xom.service;

import java.io.File;
import javax.xml.validation.Schema;
import org.w3c.dom.Document;

public interface Xom {
  public void setSchema(Schema schema) throws XomException;
  public void setSchema(File schema) throws XomException;
  public Schema getSchema();
  public void read(Document instance) throws XomException;
  public void read(File instance) throws XomException;
  public void write(File outputDirectory);
  public org.radigan.xom.service.Object getObjectModel();
  public Infoset getInfoset(String namespace) throws XomException;
}

// *EOF*
